<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test18</title>
    {% load static %}
    <link rel="stylesheet" href="{% static 'bs/bs1.css' %}">
</head>
<body>
<form role="form" action="{% url 'test18' %}" method="post">
    {% csrf_token %}
    <div class="form-group">
        {#        <label for="id_username">username</label>#}
        {{ form.class_id.label }}
        {{ form.class_id }}
    </div>

    <div class="form-group">
        {{ form.class_person_num.label }}
        {{ form.class_person_num }}
    </div>

    <div class="form-group">
        {{ form.class_computer_num.label }}
        {{ form.class_computer_num }}
    </div>

    <div class="form-group">
        {{ form.class_room_name.label }}
        {{ form.class_room_name }}
    </div>

    <div>
        <button type="submit" class="btn btn-warning mb-2">确认提交</button>
    </div>
</form>

</body>
</html>